a = open('2.txt','w')
b  =a.write('500')
a.close()
import linecache
c = linecache.getlines('2.txt')
print c;
